#!/bin/bash

arr1=(1 2 x)
echo ${arr1[*]}
for i in ${arr1[*]}
do
	echo $i
done

arr2=(1,2,x)
echo ${arr2[*]}
for i in ${arr2[*]}
do
	echo $i
done


arr3=(1, 2, x)
echo ${arr3[*]}
for i in ${arr3[*]}
do
	echo $i
done

# length of array
# ${#ArrayName[@]}


